package com.jishucai.rpc.server;

import com.jishucai.rpc.register.ZkRegisterCenter;

public class RpcServerStarter {
    public static void main(String[] args) throws Exception {
        RpcServer server = new RpcServer();
        server.publish("com.jishucai.rpc.service",
                new ZkRegisterCenter(), "127.0.0.1:8888");
        server.start();
    }
}
